package cn.icanci.learn.v1.aspcet;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author icanci
 * @date Created in 2021/06/29 22:32
 * @version 1.0
 */
public class Main {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("spring-aop-test.xml");
        TestInterface testImpl = (TestInterface) context.getBean("testImpl");
        testImpl.doSomeTest();
        testImpl.doSomeTest();
        testImpl.a();
        testImpl.b();
    }
}
